package edu.sdbi.judge.domain.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.Date;

@Data

public class Data_Analysis {
    @Id
    private Long id;
    private String newsId;      // 关联新闻 ID
    private Integer visitsCount; // 访问量（或用时间戳统计，看需求 ）
    private Date visitTime;   // 访问时间（日访问、小时访问需按时间统计 ）
    private Integer visitComment;//访问评论量
    private String date;


    // getter 和 setter 方法
    public String getDate() {
        //String date = null;
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getVisitsCount() {
        //Integer visitsCount = null;
        return visitsCount;
    }

    public void setVisitsCount(Integer visitsCount) {
        this.visitsCount = visitsCount;
    }
}
